package com.yunfeisoft.business.service.inter;

import com.applet.base.BaseService;
import com.yunfeisoft.business.model.PmsProduct;
import com.applet.utils.Page;

import java.util.List;
import java.util.Map;

/**
 * ClassName: PmsProductService
 * Description: 商品表service接口
 * Author: Jackie liu
 * Date: 2020-06-02
 */
public interface PmsProductService extends BaseService<PmsProduct, String> {

    public Page<PmsProduct> queryPage(Map<String, Object> params);

    public List<PmsProduct> queryList(Map<String, Object> params);

    public int modifyVerifyStatus(String id, int verifyStatus, String remark);

    public int modifyPublishStatus(String id, int publishStatus);

    public int modifyNewStatus(String id, int newStatus);

    public int modifyRecommandStatus(String id, int recommandStatus);

    List<PmsProduct> listAll(Map<String, Object> params);

    Page<PmsProduct> queryPageByBrand(Map<String, Object> params);

    List<PmsProduct> queryNewProduct(Map<String, Object> params, int limit);
}